﻿import java.util.Scanner;

public class code057 {
public static void main(String[] args){
	String answer;
	Scanner input = new Scanner(System.in);
	System.out.println("合格了吗(y/n)");
	answer = input.next();
	while(!"y".equals(answer)){
		System.out.println("上午閲讀");
		System.out.println("下午上機");
		System.out.println("合格了吗(y/n)");
		answer = input.next();
		
	}
		System.out.println("任务完成");
}
}